package com.xiaochang.em.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xiaochang.em.entity.Example;
import com.xiaochang.em.entity.Star;
import com.xiaochang.em.mapper.ExampleMapper;
import com.xiaochang.em.mapper.StarMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ExampleService  extends ServiceImpl<ExampleMapper, Example> {

    @Resource
    private ExampleMapper exampleMapper;

    public List<Example> allExample() {
        return exampleMapper.allExample();
    }

}
